package uz.edo.security;
import java.util.HashMap;
import java.util.Map;

import uz.edo.app.client.MyPage;
import uz.edo.app.client.core.MyApplication;
import uz.edo.app.client.core.MySession;

public abstract class MyAuthenticatedPage extends MyPage
{
    public MyAuthenticatedPage()
    {
        super();
    }
    public MySession getMySession()
    {
        return (MySession) getSession();
    }
    public MyApplication getMyApplication()
    {
        return (MyApplication) getApplication();
    }
    public abstract boolean isAuthorized(HashMap<?,?> rolehashmap);
//	public abstract boolean isAuthorized(Map rights);

}